import request from '@/utils/request'

// 查询数据采集日志查询列表
export function listRzm(query) {
  return request({
    url: '/production/rzm/list',
    method: 'get',
    params: query
  })
}

// 查询数据采集日志查询详细
export function getRzm(rzmId) {
  return request({
    url: '/production/rzm/' + rzmId,
    method: 'get'
  })
}

// 新增数据采集日志查询
export function addRzm(data) {
  return request({
    url: '/production/rzm',
    method: 'post',
    data: data
  })
}

// 修改数据采集日志查询
export function updateRzm(data) {
  return request({
    url: '/production/rzm',
    method: 'put',
    data: data
  })
}

// 删除数据采集日志查询
export function delRzm(rzmId) {
  return request({
    url: '/production/rzm/' + rzmId,
    method: 'delete'
  })
}

// 导出数据采集日志查询
export function exportRzm(query) {
  return request({
    url: '/production/rzm/export',
    method: 'get',
    params: query
  })
}